package main

import "fmt"

type turtle struct {
	x, y int
}

func (t *turtle) right() {
	t.x++
}
func (t *turtle) left() {
	t.x--
}
func (t *turtle) down() {
	t.y++
}
func (t *turtle) up() {
	t.y--
}

func main() {
	newTurtle := turtle{
		x: 10,
		y: 10,
	}

	newTurtle.right()
	newTurtle.right()
	newTurtle.right()
	fmt.Println(newTurtle)
}
